package com.apcc4m.sfpush.bean;

public class ServerListenerInfo {

    private String ListenerType;
    private Class<?> serviceClass;
    private int mainPort;
    /** 用于分配处理业务线程的线程组个数 */
    private int mainGroupSize;
    /** 业务出现线程大小 */
    private int mainThreadSize;

    public static final String TYPE_WEBSOCKET = "websocket";
    public static final String TYPE_DEFAULT = "default";
    public String getListenerType() {
        return ListenerType;
    }

    public void setListenerType(String listenerType) {
        ListenerType = listenerType;
    }

    public Class<?> getServiceClass() {
        return serviceClass;
    }

    public void setServiceClass(Class<?> serviceClass) {
        this.serviceClass = serviceClass;
    }

    public int getMainPort() {
        return mainPort;
    }

    public void setMainPort(int mainPort) {
        this.mainPort = mainPort;
    }

    public int getMainGroupSize() {
        return mainGroupSize;
    }

    public void setMainGroupSize(int mainGroupSize) {
        this.mainGroupSize = mainGroupSize;
    }

    public int getMainThreadSize() {
        return mainThreadSize;
    }

    public void setMainThreadSize(int mainThreadSize) {
        this.mainThreadSize = mainThreadSize;
    }

}
